﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "新增-仓库档案";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)

            <fieldset>
                <legend>触发检验设定</legend>
                <p>
                    <label>
                        停机重启检验：
                    </label>
                    @Html.CheckBoxFor(sysConfig =>sysConfig.IsSys, new { @class = "required" })
                    @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                </p>
                <p>
                    <label>
                        首件停机间隔时间：
                    </label>
                    @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @class = "required" })
                    @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                </p>
            </fieldset>

            <fieldset>
                <legend>启动其它系统</legend>
                <p>
                    <label>
                        启用【尺寸测量】模组
                    </label>
                    @Html.CheckBoxFor(sysConfig =>sysConfig.IsSys, new { @class = "required" })
                    @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                </p>
                <p>
                    <label>
                        启用【信赖检测】模组
                    </label>
                    @Html.CheckBoxFor(sysConfig =>sysConfig.IsSys, new { @class = "required" })
                    @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                </p>
            </fieldset>
            
           
            @Html.Partial("Operation", Model)
        </div>
        @Html.Partial("FormButtonBar")
    </form>
</div>
